package com.xinqi.modules.chat.favorite.convert;

import com.xinqi.modules.chat.favorite.dto.rsp.FavoriteTagResultDTO;
import com.xinqi.modules.chat.favorite.domain.FavoriteTagEntity;
import com.xinqi.common.mapstruct.CommonConvertConfig;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 收藏标签表转换
 *
 * @author: yyzhen
 * @date: 2023/03/23
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class FavoriteTagConvert {

    public abstract FavoriteTagResultDTO convert(FavoriteTagEntity s);

    public abstract List<FavoriteTagResultDTO> convert(List<FavoriteTagEntity> list);
}
